package com.guigu.tms.base.controller;

import com.guigu.tms.base.service.IPdFleetService;
import com.guigu.tms.commons.entity.base.PdFleet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 车队表 前端控制器
 * </p>
 *
 * @author wj
 * @since 2022-09-26
 */
@RestController
@RequestMapping("/pdFleet")
public class PdFleetController {

    @Autowired
    IPdFleetService iPdFleetService;

    @GetMapping("/findPdFleetList")
    public List<PdFleet> findPdFleetList(){
        return iPdFleetService.findPdFleetList();
    }
}
